Skip to content

Conversation

@sQu4rks
Copy link
Contributor

@sQu4rks sQu4rks commented Apr 8, 2020

When accessing the .inputs property the current version errors with a OrderedDict is not callable error.

This PR fixes the error by adding the _json_data.get('inputs') call in the property.

As a workaround one can access the property directly:

attachment = api.attachment_actions.get(attachment_id)
inputs = attachment._json_data.get('inputs')

@sQu4rks sQu4rks changed the title Fixed error not being able to get inputs property Fixed error not being able to get inputs property from attachment actions Apr 8, 2020
@sQu4rks
Copy link
Contributor Author

sQu4rks commented Apr 8, 2020

Closing since #103 is doing the same.

@sQu4rks sQu4rks closed this Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant